package com.app.web.user.err;

import com.app.utils.base.http.ResultUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author 但何非
 * @Date 2022/12/31 13:49
 * @ClassName: AppUserErrorController
 * @Description: app用户错误日志
 * @Version:
 */
@RestController
@RequestMapping("/app/user/err/")
public class AppUserErrorController {
    @Autowired
    private AppUserErrorService appUserErrorService;
    @RequestMapping("insert")
    private String insert(@RequestAttribute long uid,String error){
        appUserErrorService.insert(uid,error);
        return ResultUtil.success();
    }
}
